package cn.zkcloud.servlet;

import org.apache.log4j.Logger;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @Author zk
 * @Date 2017/6/18.
 * @Email zkdcloud_cn@163.com
 */
public class HttpContext {
    private static Logger logger = Logger.getLogger(HttpContext.class);

    private HttpServletRequest request;
    private HttpServletResponse response;

    public HttpContext(HttpServletRequest request, HttpServletResponse response){
        this.request = request;
        this.response = response;
    }

    /** get request
     *
     * @return
     */
    public HttpServletRequest getRequest() {
        return request;
    }

    /** get response
     *
     * @return
     */
    public HttpServletResponse getResponse() {
        return response;
    }

}
